package com.hs.user.config;

import com.hs.jwt.JwtTemplate;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
				public class JwtConfig {

					@Value("${auth.security.path}")
					private String path;
					@Value("${auth.security.keyStoreSecurity}")
					private String keyStoreSecurity;
					@Value("${auth.security.alias}")
					private String alias;

					@Bean
					public JwtTemplate jwtTemplate(){
						return new JwtTemplate(path,keyStoreSecurity,alias);
					}
				}